import Vue from 'vue';
import App from './App.vue';

// element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// echarts
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

// 水球图
import 'echarts-liquidfill';

// 路由
import router from './router/index';

// 视频播放控件
import videoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css');
require('vue-video-player/src/custom-theme.css');

// axios
import axios from 'axios';
Vue.prototype.$axios = axios;

Vue.use(videoPlayer);
Vue.use(ElementUI);

// 关闭警告提示
Vue.config.productionTip = false;

new Vue({
    el: '#app',
    router,
    echarts,
    videoPlayer,
    axios,
    render: h => h(App)
}).$mount('#app')
